//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;

import java.io.Serializable;

public class SystemParam implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    @TableLogic(value = "1", delval = "0")
    private Integer state;
    private Long createTime;
    private Long createUser;
    private Integer paramType;
    @Excel(name = "编码")
    @TableField(value = "param_code", condition = SqlCondition.LIKE)
    private String paramCode;
    @Excel(name = "名称")
    @TableField(value = "param_name", condition = SqlCondition.LIKE)
    private String paramName;
    @Excel(name = "值")
    @TableField(value = "param_value", condition = SqlCondition.LIKE)
    private String paramValue;
    @Excel(name = "参数描述")
    private String paramDes;

    public SystemParam() {
    }

    public Long getId() {
        return this.id;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Integer getParamType() {
        return this.paramType;
    }

    public String getParamCode() {
        return this.paramCode;
    }

    public String getParamName() {
        return this.paramName;
    }

    public String getParamValue() {
        return this.paramValue;
    }

    public String getParamDes() {
        return this.paramDes;
    }

    public SystemParam setId(final Long id) {
        this.id = id;
        return this;
    }

    public SystemParam setState(final Integer state) {
        this.state = state;
        return this;
    }

    public SystemParam setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public SystemParam setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public SystemParam setParamType(final Integer paramType) {
        this.paramType = paramType;
        return this;
    }

    public SystemParam setParamCode(final String paramCode) {
        this.paramCode = paramCode;
        return this;
    }

    public SystemParam setParamName(final String paramName) {
        this.paramName = paramName;
        return this;
    }

    public SystemParam setParamValue(final String paramValue) {
        this.paramValue = paramValue;
        return this;
    }

    public SystemParam setParamDes(final String paramDes) {
        this.paramDes = paramDes;
        return this;
    }

    public String toString() {
        return "SystemParam(id=" + this.getId() + ", state=" + this.getState() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", paramType=" + this.getParamType() + ", paramCode=" + this.getParamCode() + ", paramName=" + this.getParamName() + ", paramValue=" + this.getParamValue() + ", paramDes=" + this.getParamDes() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SystemParam)) {
            return false;
        } else {
            SystemParam other = (SystemParam)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label119: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label119;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label119;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                label105: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label105;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label105;
                    }

                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                label91: {
                    Object this$paramType = this.getParamType();
                    Object other$paramType = other.getParamType();
                    if (this$paramType == null) {
                        if (other$paramType == null) {
                            break label91;
                        }
                    } else if (this$paramType.equals(other$paramType)) {
                        break label91;
                    }

                    return false;
                }

                Object this$paramCode = this.getParamCode();
                Object other$paramCode = other.getParamCode();
                if (this$paramCode == null) {
                    if (other$paramCode != null) {
                        return false;
                    }
                } else if (!this$paramCode.equals(other$paramCode)) {
                    return false;
                }

                label77: {
                    Object this$paramName = this.getParamName();
                    Object other$paramName = other.getParamName();
                    if (this$paramName == null) {
                        if (other$paramName == null) {
                            break label77;
                        }
                    } else if (this$paramName.equals(other$paramName)) {
                        break label77;
                    }

                    return false;
                }

                label70: {
                    Object this$paramValue = this.getParamValue();
                    Object other$paramValue = other.getParamValue();
                    if (this$paramValue == null) {
                        if (other$paramValue == null) {
                            break label70;
                        }
                    } else if (this$paramValue.equals(other$paramValue)) {
                        break label70;
                    }

                    return false;
                }

                Object this$paramDes = this.getParamDes();
                Object other$paramDes = other.getParamDes();
                if (this$paramDes == null) {
                    if (other$paramDes != null) {
                        return false;
                    }
                } else if (!this$paramDes.equals(other$paramDes)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof SystemParam;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $paramType = this.getParamType();
        result1 = result * 59 + ($paramType == null ? 43 : $paramType.hashCode());
        Object $paramCode = this.getParamCode();
        result1 = result * 59 + ($paramCode == null ? 43 : $paramCode.hashCode());
        Object $paramName = this.getParamName();
        result1 = result * 59 + ($paramName == null ? 43 : $paramName.hashCode());
        Object $paramValue = this.getParamValue();
        result1 = result * 59 + ($paramValue == null ? 43 : $paramValue.hashCode());
        Object $paramDes = this.getParamDes();
        result1 = result * 59 + ($paramDes == null ? 43 : $paramDes.hashCode());
        return result1;
    }
}
